Optimal. Leaf size=72 \[ -\frac{b c n x^{n-3} \text{Hypergeometric2F1}\left (1,-\frac{3-n}{2 n},-\frac{3 (1-n)}{2 n},c^2 x^{2 n}\right )}{3 (3-n)}-\frac{a+b \tanh ^{-1}\left (c x^n\right )}{3 x^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0342286, antiderivative size = 72, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {6097, 364} \[ -\frac{a+b \tanh ^{-1}\left (c x^n\right )}{3 x^3}-\frac{b c n x^{n-3} \, _2F_1\left (1,-\frac{3-n}{2 n};-\frac{3 (1-n)}{2 n};c^2 x^{2 n}\right )}{3 (3-n)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6097
Rule 364
Rubi steps
\begin{align*} \int \frac{a+b \tanh ^{-1}\left (c x^n\right )}{x^4} \, dx &=-\frac{a+b \tanh ^{-1}\left (c x^n\right )}{3 x^3}+\frac{1}{3} (b c n) \int \frac{x^{-4+n}}{1-c^2 x^{2 n}} \, dx\\ &=-\frac{a+b \tanh ^{-1}\left (c x^n\right )}{3 x^3}-\frac{b c n x^{-3+n} \, _2F_1\left (1,-\frac{3-n}{2 n};-\frac{3 (1-n)}{2 n};c^2 x^{2 n}\right )}{3 (3-n)}\\ \end{align*}
Mathematica [A] time = 0.0416435, size = 73, normalized size = 1.01 \[ \frac{b c n x^{n-3} \text{Hypergeometric2F1}\left (1,\frac{n-3}{2 n},\frac{n-3}{2 n}+1,c^2 x^{2 n}\right )}{3 (n-3)}-\frac{a}{3 x^3}-\frac{b \tanh ^{-1}\left (c x^n\right )}{3 x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.112, size = 0, normalized size = 0. \begin{align*} \int{\frac{a+b{\it Artanh} \left ( c{x}^{n} \right ) }{{x}^{4}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\frac{1}{6} \,{\left (3 \, n \int \frac{1}{3 \,{\left (c x^{4} x^{n} + x^{4}\right )}}\,{d x} + 3 \, n \int \frac{1}{3 \,{\left (c x^{4} x^{n} - x^{4}\right )}}\,{d x} + \frac{\log \left (c x^{n} + 1\right ) - \log \left (-c x^{n} + 1\right )}{x^{3}}\right )} b - \frac{a}{3 \, x^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b \operatorname{artanh}\left (c x^{n}\right ) + a}{x^{4}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \operatorname{artanh}\left (c x^{n}\right ) + a}{x^{4}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]